package com.example.emailcraft.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.example.emailcraft.entity.UserTemplates;
import com.example.emailcraft.entity.common.Result;
import com.example.emailcraft.entity.request.SaveTemplateRequest;
import org.springframework.http.ResponseEntity;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author scj
 * @since 2025-01-21
 */
public interface IUserTemplatesService extends IService<UserTemplates> {
    ResponseEntity<Result<Object>> saveTemplate(SaveTemplateRequest request);

    ResponseEntity<Result<Object>> checkExportPermission();
}
